<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <!--<meta http-equiv="refresh" content="<#$waitsecond#>;URL=<#$wifiurl#>">-->
    <title></title>
    <link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/css.css"><!--风格-->
    <link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/media.css"><!--自适应-->
    <link rel="stylesheet" type="text/css" href="<#$Theme['P']['root']#>/tmpl/wifiadv/css/form.css"><!--自适应-->
    <link href="<#$Theme['P']['js']#>/swiper/swiper.css" rel="stylesheet" />
</head>
<body>
	<include file="public:head$wifiadv"/>
    <div class="mainbox  bgform clearfix">
    <if condition="C('OPENPUSH') eq 1">
        <div class="focus">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <volist name="ad" id="vo">
                        <div  class="swiper-slide">
                            <img src="<#$vo.pic#>" width="100%">
                        </div>
                    </volist>
                </div>
            </div>
            <div class="pagination"></div>
        </div>
    </if>
    <div style="text-align: center;margin:20px auto;" >
        <div class="loadingbox">
            <img src="<#$Theme['P']['root']#>/tmpl/wifiadv/img/wait.gif"/>
            <div class="loadtext">
                正在验证中，请耐心等待...
            </div>
        </div>
    </div>
    <div class="blockdiv"></div>
</div>
</body>
<script type="text/javascript">
    var url = "<#$wifiurl#>";
    var time = "<#$waitsecond#>";
    setTimeout(function(){
        window.location = url;
    },time*1000);
</script>

<script type="text/javascript" src="<#$Theme['P']['js']#>/jquery.js"></script>
    <if condition="C('OPENPUSH') eq 1">
        <script type="text/javascript" src="<#$Theme['P']['js']#>/swiper/swiper.js"></script>
        <script>
           var mySwiper = new Swiper('.swiper-container',{
                pagination: '.pagination',
                loop:true,
                grabCursor: true,
                paginationClickable: true,
                calculateHeight:true,
                autoplay:3000
              });
         </script>
    </if>
</html>